<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>综合信息页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    	综合信息页面 <br>
    <table border="1" cellspacing="0" width="1500px">
<tr>
    <th>员工编号</th>
    <th>员工姓名</th>
    <th>责任心</th>
    <th>主动性</th>
    <th>抗压性</th>
    <th>团队意识</th>
    <th>学习能力</th>
    <th>沟通</th>
    <th>观察与评价</th>
    <th>严重不符合项</th>
</tr>

	<c:forEach items="${comprehensive}" var="c">
<tr>
   		<td>${c.staff_id}</td>
   		<td>${c.name}</td>
   		<td>
		<c:if test="${c.responsibility==1}">
			好
		</c:if>
		<c:if test="${c.responsibility==2}">
		差
		</c:if>
		</td>
   		<td>
		<c:if test="${c.initiative==1}">
			好
		</c:if>
		<c:if test="${c.initiative==2}">
			差
		</c:if>
		</td>		
		<td>
		<c:if test="${c.compressive==1}">
			好
		</c:if>
		<c:if test="${c.compressive==2}">
			差
		</c:if>
		</td>
		<td>
		<c:if test="${c.teamspirit==1}">
			好
		</c:if>
		<c:if test="${c.teamspirit==2}">
			差
		</c:if>
		</td>
		
		
		<td>
		<c:if test="${c.communication==1}">
			好
		</c:if>
		<c:if test="${c.communication==2}">
			差
		</c:if>
		</td>
		
		
		
		<td>
		<c:if test="${c.learn==1}">好</c:if>
		<c:if test="${c.learn==2}">差</c:if>
		</td>
		
		
		
   		<td>${c.evaluation}</td>
   		
   		
   		<td>
		<c:if test="${c.violations==1}">
			有
		</c:if>
		<c:if test="${c.violations==2}">
			无
		</c:if>
		</td>
   	  	</tr>	
   	</c:forEach>
 
   			

</table>
  </body>
</html>
